<div id="contents" class="subadmin">
			<div class="maincontent">
				<div class="head">
					<label class="parent">Members</label><span>&gt;</span><label>Members</label>
				</div>
				<div class="content">
					<div class="headcontent">
						<div class="divsearch">
							<input type="text" id="txtSearch" name="txtSearch" value="Search..." class="txt" onblur="if(this.value=='')this.value='Search...';" onfocus="if(this.value=='Search...')this.value='';"/>
							<select id="typeSearch" class="cbotype">
								<option value="IDUSER">ID User</option>
								<option value="IDPERSON">ID Person</option>
								<option value="NICKNAME">Nick Name</option>
								<option value="FIRSTNAME">First Name</option>
								<option value="LASTNAME">Last Name</option>
								<option value="EMAIL">Email</option>
								<option value="TIMECREATE">Time Created</option>
							</select>
							<input type="submit" class="btnSearch btn" id="btnSearch" value="Search" onclick="loadPage(1)" />
						</div>
						<div class="divright">
                        
							Role:<input type="text" class="txtRole txt" value="User" />
                            <select id="cboRole" class="cboRole">
								
                            <?php 
                           
                            foreach($this->lstRole as $Role){
                                
                            ?>                            
								<option value="<?php echo $Role['IDROLE']; ?>"><?php echo $Role['CONTENTROLE'];?></option>								
							
                            <?php 
                            }                            
                            ?>
                            <option value="all">All</option>
                            </select>
							<input type="submit" class="btnNew btn" value="New" />
						</div>
					</div>
					<div class="maincontents" id="mlist">
					  <?php /*
                      <table cellpadding="0" cellspacing="0" >
                          <thead>
                            <td class="tdicon"><img src="<?php echo $this->imgUrl ?>/members/pic3.JPG" width="11px" height="11px" /></td>
                            <td class="tdidUser">ID User</td>
                            <td class="tdidPerson">ID Person</td>
                            <td class="tdnickname">Nick Name</td>
                            <td class="tdfirstname">First Name</td>
                            <td class="tdlastname">Last Name</td>
                            <td class="tdemail">Email</td>
                            <td class="tdtimecreate">Time create</td>
                            <td class="tdcontrol">Control</td>
                          </thead>
                          <?php foreach($this->lstMembers as $Member){ ?>
                          <tr>
                            <td class="tdicon"><img src="<?php echo $this->imgUrl ?>/members/pic2.JPG" width="10px" height="10px" /></td>
                            <td align="center"><?php echo $Member[0]; ?></td>
                            <td align="center"><?php echo $Member[1]; ?></td>
                            <td><?php echo $Member[2]; ?></td>
                            <td><?php echo $Member[3]; ?></td>
                            <td><?php echo $Member[4]; ?></td>
                            <td><?php echo $Member[5]; ?></td>
                            <td><?php echo $Member[6]; ?></td>
                            <td><a href="#" title="view"><img src="<?php echo $this->imgUrl ?>/members/001_44.png" alt="view" /></a>
                                <a href="#"title="edit"><img src="<?php echo $this->imgUrl ?>/members/001_45.png" alt="edit" /></a>
                                <a href="#"title="delete"><img src="<?php echo $this->imgUrl ?>/members/001_05.png" alt="delete" /></a>
                            </td>
                          </tr>
                          <?php } ?>
                          
                        </table>
                        <div class="pager"><?php echo $this->pagelist; ?></div> 
                        */?>                        
					</div>
                     <?php $linkpage = $this->baseUrl()."/admin/members/lst/page" ?>      
                     <script type="text/javascript">
                            
                           $(document).ready(function(  ){
                               $("#mlist").load("<?php echo  $linkpage . '/1/type/';?>"+$("#typeSearch").val()+'/text/'+$("#txtSearch").val()+'/role/'+$("#cboRole").val());
                           });
                    
                           function loadPage(page) {
                             $("#mlist").load("<?php echo  $linkpage . '/';?>"  + page+'/type/'+$("#typeSearch").val()+'/text/'+$("#txtSearch").val()+'/role/'+$("#cboRole").val());
                            } 
                            
                    </script>
				</div>
				<div class="footer"></div>
			</div>
		</div>